package com.lingx.bean;

public class TokenBean {
		private String account;
	    private String userId;
	    private String userName;
	    private String orgIds;
	    private String roleIds;
	    private long lastLoginTime;
	    
		public String getAccount() {
			return account;
		}
		public void setAccount(String account) {
			this.account = account;
		}
		public String getUserName() {
			return userName;
		}
		public void setUserName(String userName) {
			this.userName = userName;
		}
		public String getUserId() {
			return userId;
		}
		public void setUserId(String userId) {
			this.userId = userId;
		}
		public String getOrgId() {
			String orgid=this.orgIds;
			if(orgid.indexOf(",")>0)orgid=orgid.split(",")[0];
			return orgid;
		}
		public String getOrgIds() {
			return orgIds;
		}
		public void setOrgIds(String orgIds) {
			this.orgIds = orgIds;
		}
		public String getRoleIds() {
			return roleIds;
		}
		public void setRoleIds(String roleIds) {
			this.roleIds = roleIds;
		}
		public long getLastLoginTime() {
			return lastLoginTime;
		}
		public void setLastLoginTime(long lastLoginTime) {
			this.lastLoginTime = lastLoginTime;
		}
	    
	    
}
